#include<stdio.h>
class A 
{
    public:
        A();
        ~A();
        void SetHour(int hh){H = hh;}
    private:
        int H;
};
class B:public A
{
    public:
        B();
        ~B();
        void SetMinute(int mm){M = mm;}
    private:
        int M;
};
int main(int argc, char *argv[])
{
    return 0;
}
